-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mbedtls fixes 0.12 #135
Mbedtls fixes 0.12 #135
Conversation
f8ba20e
to
7769a59
Compare
Thanks for the PR @billatarm :) |
weird I wonder why these didn't trigger locally. |
ahh features |
899e219
to
9da5f5a
Compare
hrmm some weird memory issues now, I wonder if it's getting some wrong definitions for type sizes when building the shim. I think its my usage of MBEDTLS_CONFIG_FILE |
Ahh fedora has an ancient mbedtls 2.28.5 and we need 3.0 minimum. Half the changes in this patch are because I didn't catch how old Fedora's package was. This greatly simplifies the patch. |
003a311
to
51feea4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two nits, LGTM apart from that
8ee9e8e
to
393ad05
Compare
When setting env vars to use a external mbedTLS library, for example provided by a system distro, like so: MBEDTLS_INCLUDE_DIR="/usr/include/" MBEDTLS_LIB_DIR="/usr/lib64" The build would configure the vendored mbedtls. Fix this by only configuring the vendored mbedtls when being used. This would allow clones without the submodule using a system supplied mbedtls to succeed. Signed-off-by: Bill Roberts <[email protected]>
393ad05
to
f2b9062
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, looks sensible to me!
Fix linking options against system provided mbedtlsIt was me using an ETOOOLD version of mbedtls. Just don't run configure on vendor'd mbedtls wqhen env vars set.